package com.teste.client;

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.dom.client.Style.Unit;
import com.google.gwt.user.client.ui.DockLayoutPanel;
import com.google.gwt.user.client.ui.RootLayoutPanel;
import com.teste.client.editors.Body;
import com.teste.client.editors.Header;
import com.teste.client.editors.Menu;

public class TesteGWT implements EntryPoint {

	public void onModuleLoad() {
		
		DockLayoutPanel p = new DockLayoutPanel(Unit.PX);
		p.setSize("100%", "100%");
		p.addNorth(new Header(), 100);
		p.addNorth(new Menu(), 34);
		p.add(new Body());
		
		RootLayoutPanel rp = RootLayoutPanel.get();
		rp.add(p);

	}
}
